{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar genFormValidateMotionStyle = function genFormValidateMotionStyle(token) {\n  var _helpItemCls;\n  var componentCls = token.componentCls;\n  var helpCls = \"\".concat(componentCls, \"-show-help\");\n  var helpItemCls = \"\".concat(componentCls, \"-show-help-item\");\n  return _defineProperty({}, helpCls, _defineProperty({\n    // Explain holder\n    transition: \"opacity \".concat(token.motionDurationSlow, \" \").concat(token.motionEaseInOut),\n    '&-appear, &-enter': {\n      opacity: 0,\n      '&-active': {\n        opacity: 1\n      }\n    },\n    '&-leave': {\n      opacity: 1,\n      '&-active': {\n        opacity: 0\n      }\n    }\n  }, helpItemCls, (_helpItemCls = {\n    overflow: 'hidden',\n    transition: \"height \".concat(token.motionDurationSlow, \" \").concat(token.motionEaseInOut, \",\\n                     opacity \").concat(token.motionDurationSlow, \" \").concat(token.motionEaseInOut, \",\\n                     transform \").concat(token.motionDurationSlow, \" \").concat(token.motionEaseInOut, \" !important\")\n  }, _defineProperty(_helpItemCls, \"&\".concat(helpItemCls, \"-appear, &\").concat(helpItemCls, \"-enter\"), _defineProperty({\n    transform: \"translateY(-5px)\",\n    opacity: 0\n  }, \"&-active\", {\n    transform: 'translateY(0)',\n    opacity: 1\n  })), _defineProperty(_helpItemCls, \"&\".concat(helpItemCls, \"-leave-active\"), {\n    transform: \"translateY(-5px)\"\n  }), _helpItemCls)));\n};\nexport default genFormValidateMotionStyle;","map":{"version":3,"names":["genFormValidateMotionStyle","token","componentCls","helpCls","helpItemCls","transition","motionDurationSlow","motionEaseInOut","opacity","overflow","transform"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/form/style/explain.js"],"sourcesContent":["const genFormValidateMotionStyle = token => {\n  const {\n    componentCls\n  } = token;\n  const helpCls = `${componentCls}-show-help`;\n  const helpItemCls = `${componentCls}-show-help-item`;\n  return {\n    [helpCls]: {\n      // Explain holder\n      transition: `opacity ${token.motionDurationSlow} ${token.motionEaseInOut}`,\n      '&-appear, &-enter': {\n        opacity: 0,\n        '&-active': {\n          opacity: 1\n        }\n      },\n      '&-leave': {\n        opacity: 1,\n        '&-active': {\n          opacity: 0\n        }\n      },\n      // Explain\n      [helpItemCls]: {\n        overflow: 'hidden',\n        transition: `height ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     opacity ${token.motionDurationSlow} ${token.motionEaseInOut},\n                     transform ${token.motionDurationSlow} ${token.motionEaseInOut} !important`,\n        [`&${helpItemCls}-appear, &${helpItemCls}-enter`]: {\n          transform: `translateY(-5px)`,\n          opacity: 0,\n          [`&-active`]: {\n            transform: 'translateY(0)',\n            opacity: 1\n          }\n        },\n        [`&${helpItemCls}-leave-active`]: {\n          transform: `translateY(-5px)`\n        }\n      }\n    }\n  };\n};\nexport default genFormValidateMotionStyle;"],"mappings":";AAAA,IAAMA,0BAA0B,GAAG,SAA7BA,0BAA0B,CAAGC,KAAK,EAAI;EAAA;EAC1C,IACEC,YAAY,GACVD,KAAK,CADPC,YAAY;EAEd,IAAMC,OAAO,aAAMD,YAAY,eAAY;EAC3C,IAAME,WAAW,aAAMF,YAAY,oBAAiB;EACpD,2BACGC,OAAO;IACN;IACAE,UAAU,oBAAaJ,KAAK,CAACK,kBAAkB,cAAIL,KAAK,CAACM,eAAe,CAAE;IAC1E,mBAAmB,EAAE;MACnBC,OAAO,EAAE,CAAC;MACV,UAAU,EAAE;QACVA,OAAO,EAAE;MACX;IACF,CAAC;IACD,SAAS,EAAE;MACTA,OAAO,EAAE,CAAC;MACV,UAAU,EAAE;QACVA,OAAO,EAAE;MACX;IACF;EAAC,GAEAJ,WAAW;IACVK,QAAQ,EAAE,QAAQ;IAClBJ,UAAU,mBAAYJ,KAAK,CAACK,kBAAkB,cAAIL,KAAK,CAACM,eAAe,6CAChDN,KAAK,CAACK,kBAAkB,cAAIL,KAAK,CAACM,eAAe,+CAC/CN,KAAK,CAACK,kBAAkB,cAAIL,KAAK,CAACM,eAAe;EAAa,4CAClFH,WAAW,uBAAaA,WAAW;IACtCM,SAAS,oBAAoB;IAC7BF,OAAO,EAAE;EAAC,eACI;IACZE,SAAS,EAAE,eAAe;IAC1BF,OAAO,EAAE;EACX,CAAC,6CAEEJ,WAAW,oBAAkB;IAChCM,SAAS;EACX,CAAC;AAIT,CAAC;AACD,eAAeV,0BAA0B"},"metadata":{},"sourceType":"module"}